package com.jhgsys.internal.sypq.entity;

import com.alibaba.fastjson.JSONArray;
import com.baomidou.mybatisplus.annotation.TableField;
import com.wuwenze.poi.annotation.Excel;
import com.wuwenze.poi.annotation.ExcelField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;


@Data
@Excel("项目信息")
public class SypqProjectDto  extends  SypqProject{


    @ExcelField(value = "客户名称")
    @Schema(description = "客户名称")
    private  String custName;

    /**
     * 项目经理，可以是多个userid
     */
    @TableField("managerids")
    @NotBlank(message = "{required}")
    @Size(max = 350, message = "{noMoreThan}")
    private String managerids;

    @ExcelField(value = "项目经理")
    @Schema(description = "项目经理")
    private  String  managers;

    @ExcelField(value = "审批人")
    @Schema(description = "审批人")
    private  String  auditor;

    @ExcelField(value = "项目状态")
    @Schema(description = "项目状态")
    private  String  statusName;

    @ExcelField(value = "审批状态")
    @Schema(description = "审批状态")
    private  String approveStatusName;

    @Schema(description = "审批意见")
    private  String remark;

    //附件信息
    private JSONArray fileList;
}
